package com.yangcheng.model.domain;

import javax.xml.soap.Text;
import java.io.Serializable;
import java.util.Date;

/**
 * 文章详情表(TArticle)实体类
 *
 * @author makejava
 * @since 2021-04-07 16:05:59
 */
public class Article implements Serializable {
    private static final long serialVersionUID = 536020324992500260L;
    /**
    * 文章id
    */
    private Integer id;
    /**
    * 文章标题
    */
    private String title;
    /**
    * 文章内容
    */
    private String content;
    /**
    * 创建时间
    */
    private Date created;
    /**
    * 修改时间
    */
    private Object modified;
    /**
    * 文章分类
    */
    private String categories;
    /**
    * 文章标签
    */
    private String tags;
    /**
    * 是否允许评论
    */
    private Boolean allowComment;
    /**
    * 文章缩略图
    */
    private String thumbnail;

    private Integer hits;   //通过id更新点击量
    private Integer commentsnum;    //通过id更新评论量
    private Integer commentsNum;

    public Integer getHits() {
        return hits;
    }

    public void setHits(Integer hits) {
        this.hits = hits;
    }

    public Integer getCommentsNum() {
        return commentsNum;
    }

    public void setCommentsNum(Integer commentsNum) {
        this.commentsNum = commentsNum;
    }

    public Integer getCommentsnum() {
        return commentsnum;
    }

    public void setCommentsnum(Integer commentsnum) {
        this.commentsnum = commentsnum;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Object getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Object getModified() {
        return modified;
    }

    public void setModified(Object modified) {
        this.modified = modified;
    }

    public String getCategories() {
        return categories;
    }

    public void setCategories(String categories) {
        this.categories = categories;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags;
    }

    public Boolean getAllowComment() {
        return allowComment;
    }

    public void setAllowComment(Boolean allowComment) {
        this.allowComment = allowComment;
    }

    public String getThumbnail() {
        return thumbnail;
    }

    public void setThumbnail(String thumbnail) {
        this.thumbnail = thumbnail;
    }

}